package com.y17376065_yzh_FinalTest.rdtt.service;

import com.y17376065_yzh_FinalTest.rdtt.model.BaseBean;
import com.y17376065_yzh_FinalTest.rdtt.model.DataBean;
import com.y17376065_yzh_FinalTest.rdtt.model.NewBean;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * 功能：接口文档
 */


public interface ApiService
{
    @GET("/toutiao/index")
    Observable<BaseBean<DataBean<List<NewBean>>>> getNewsList(@Query("type") String type, @Query("key") String key);
}

